package com.ruoyi.app.mapper;

import com.ruoyi.app.dto.BillAppealDto;
import com.ruoyi.app.dto.MemberInvoiceDto;
import com.ruoyi.app.vo.ParkingOrderVo;
import com.ruoyi.domain.MemberInvoice;
import com.ruoyi.domain.ParkingOrder;
import com.ruoyi.domain.ParkingOrderAppeal;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ParkOrderMapper {

    ParkOrderMapper INSTANCE = Mappers.getMapper(ParkOrderMapper.class);

    ParkingOrderVo toParkingOrderVo(ParkingOrder parkingOrder);

    List<ParkingOrderVo> toParkingOrderVoList(List<ParkingOrder> parkingOrderList);

    MemberInvoice toMemberInvoice(MemberInvoiceDto memberInvoiceDto);

    ParkingOrderAppeal toParkingOrderAppeal(BillAppealDto billAppealDto);
}
